package com.runoob;

import com.runoob.draw.GreenCircle;
import com.runoob.draw.RedCircle;
import com.runoob.shape.Circle;
import com.runoob.shape.Shape;

/**
 * 测试
 * <p>
 *
 * </p>
 *
 * @author zenglei
 * @date 2023/06/05/ 14:04
 */
public class BridgePatternDemo {

    public static void main(String[] args) {
        Shape redCircle = new Circle(100, 100, 10, new RedCircle());
        Shape greenCircle = new Circle(100, 100, 10, new GreenCircle());

        redCircle.draw();
        greenCircle.draw();
    }

}
